import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//全局引入
import '../src/style/headmap.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
app.use(router)
app.use(ElementPlus)
import urls from '../src/api/api.js'
app.config.globalProperties.$urls = urls
import request from '../src/api/request.js'
app.config.globalProperties.$request = request
import tips from '../src/config/Tips.js'
app.config.globalProperties.$tips = tips
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
// import axios from 'axios'
// axios.defaults.baseURL='/api'
app.mount('#app')


